package com.hzgj.bcl.stats;

/**
 * Created by Administrator on 2016/8/18.
 */
public class RedisKey {
    public static final String SERVICE_METHOD_KEY = "service_method_keys";
    public static final String NODE = "node";
    public static final String UPDATE_TIME = "update_time";

    public static String getErrorCount(String baseKey) {
        return baseKey + "_errorCount";
    }

    public static String getTotalCount(String baseKey) {
        return baseKey + "_totalCount";
    }

    public static String getMaxSpan(String baseKey) {
        return baseKey + "_max";
    }

    public static String getMinSpan(String baseKey) {
        return baseKey + "_min";
    }

    public static String getMeanSpan(String baseKey) {
        return baseKey + "_mean";
    }

    public static String getSpanTp75(String baseKey) {
        return baseKey + "_spanTp75";
    }

    public static String getSpanTp95(String baseKey) {
        return baseKey + "_spanTp95";
    }

    public static String getSpanTp99(String baseKey) {
        return baseKey + "_spanTp99";
    }

    public static String getSpanTp999(String baseKey) {
        return baseKey + "_spanTp999";
    }

}
